package com.syg.transaction.controller;

import com.syg.transaction.service.TClassService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author syg
 */
@RestController
public class TClassController {

    @Resource
    TClassService tClassService;

    @RequestMapping(value = "/add", method = RequestMethod.GET)
    public void add() throws Exception {
        tClassService.add1();
    }
}
